package com.woniu.liuzhougov.systemSettings.pojo;

import com.woniu.liuzhougov.authorityControl.pojo.User;
import com.woniu.liuzhougov.itemAndTask.pojo.Item;

import java.util.Date;

public class Log {
    private Integer logId;

    private Integer itemId;

    private String logOperation;

    private Date logTime;

    private Integer userId;

    public Log(){}

    public Log(int itemId, String logOperation,int userId){
        this.itemId = itemId;
        this.logOperation = logOperation;
        this.userId = userId;
        this.logTime = new Date();
    }

    public Integer getLogId() {
        return logId;
    }

    public void setLogId(Integer logId) {
        this.logId = logId;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getLogOperation() {
        return logOperation;
    }

    public void setLogOperation(String logOperation) {
        this.logOperation = logOperation;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}